#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "pcmaccencode.h"
#include "pcmaacdecode.h"
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_pushButton_clicked()
{

   PCMACCEncode* pcmACCEncode = new PCMACCEncode(this);
   pcmACCEncode->start();
}

void MainWindow::on_pushButton_2_clicked()
{

    PCMAACDecode* pcmAACDecode = new PCMAACDecode(this);
    pcmAACDecode->start();
}
